﻿using System;
using System.ComponentModel;

namespace Microsoft.Collections.Specialized
{
    public class NotifyCollectionItemChangedEventArgs : PropertyChangedEventArgs
    {
        public virtual object Item { get; private set; }
        
        public NotifyCollectionItemChangedEventArgs(String propertyName) : base(propertyName)
        {
        }

        public NotifyCollectionItemChangedEventArgs(String propertyName, object item) : this(propertyName)
        {
            Item = item;
        }
    }
}
